<template>
    <div class="m-header">
        <el-row>
            <el-col>
                <top-bar/>
            </el-col>
        </el-row>
        <el-row>
            <el-col>
                <search-bar/>
            </el-col>
        </el-row>
    </div>
</template>

<script>
import TopBar from './topbar.vue'
import SearchBar from './searchbar.vue'
export default {
    components: {
        TopBar,
        SearchBar
    }
}
</script>

<style lang="scss">
    .m-header{
    @at-root .layout-default{
      .el-header{
        .m-header {
          width: 1190px;
        }
      }
    }
    .el-row:nth-child(1){
      width: 1190px;
      margin: 0 auto;
      z-index: 9999;
      height: 40px;
      line-height: 40px;
    }
    .el-row:nth-child(2){
        z-index: 0;
      background: #fff;
      .search-panel{
        width: 1190px;
        margin: 0 auto;
      }
    }
    .el-main {
      overflow: unset;
    }
  }
</style>


